@import './transition.scss';
@import './variables.module.scss';

body {
  // height: 100%;
  width: 100vw;
  margin: 0;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  overflow-y: auto;
  overflow-x: hidden;
}

/*滚动条整体部分,必须要设置*/
body::-webkit-scrollbar{
  width: 5px;
  background-color: #fff;
}
/*滚动条的轨道*/
body::-webkit-scrollbar-track{
  background-color: transparent;
}
/*滚动条的滑块按钮*/
body::-webkit-scrollbar-thumb{
  background-color: #61d8fd;
  border-radius: 3px;
}
/*滚动条的上下两端的按钮*/
body::-webkit-scrollbar-button{
  height: 0;
  background-color: #0099ff;
}

.hljs-code-ul::-webkit-scrollbar {
  /*滚动条整体样式*/
  width : 10px;  /*高宽分别对应横竖滚动条的尺寸*/
  height: 10px;
}
.hljs-code-ul::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 10px;
  box-shadow   : inset 0 0 5px rgba(0, 0, 0, 0.2);
  background   : #535353;
}
.hljs-code-ul::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  box-shadow   : inset 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background   : #282c34;
}

ul {
  padding: 0;
  margin: 0;
}
label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

a {
  color: #337ab7 !important;
  cursor:url("../cur/x2.cur"),default !important;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

//main-container全局样式
.main-container {
  min-height: 100%;
  position: relative;
}
.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}


.df {
  display: flex;
}

@mixin clearfix {
  &:after {
    content: "";
    display: table;
    clear: both;
  }
}


// 全局灰白色调
// html {
//   filter: grayscale(100%);
//   filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
//   -webkit-filter: grayscale(100%);
//   -moz-filter: grayscale(100%);
// }